﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="ocxtest.aspx.cs" Inherits="tjb.WebTest.OcxTest.ocxtest" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <title></title>
    <style type="text/css">
        #VAWeb
        {
            width: 347px;
            height: 294px;
        }
    </style>
</head>
<body>
    <form id="form1" runat="server">
    <object id="VAWeb" name='VAWeb' codebase="./VAWebDownloader.ocx#version=1,0,0,0"
        viewastext onload="alert(this)" classid="CLSID:FD053A90-4FF6-4D2A-9C57-562098384DBE">
    </object>
    <br />
    <a href="javascript:IOStart()">short IOStart()</a>

    <script language="javascript">

        function IOStart() {

            debugger;
            var s = window.form1.VAWeb;
            //var t = new ActiveXObject("VAWeb");


        }

    </script>

    </form>
</body>
</html>
